package zhou.jun19;

import java.awt.Checkbox;

public class Finally {

	public static int check(){
		int a=9;
		try{
			a=12;
			return a;
		}catch(Exception e){
			
		}finally{
			a=13;
			return a;
		}
	}
	
	public static int staticVar = 0;         
	public int instanceVar = 0; 
	public void st(){
		staticVar++;                
		instanceVar++;                
		System.out.println("staticVar="+ staticVar +",instanceVar="+ instanceVar);
	}
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub

		System.out.println("a==="+check());
		
		Finally f=new Finally();
		f.st();
		
		 
	}

	

}
